package com.sdgakj.utils;

public class MobileUtil {

	
	public static String hideMid4Num(String mobile) {
		if(mobile == null || mobile.length() < 8) {
			return mobile;
		}
		StringBuilder sb = new StringBuilder();
		sb.append(mobile.substring(0, 3));
		sb.append("****");
		sb.append(mobile.substring(7));
		return sb.toString();
	}
}
